package cn.newhopedairy.goods.infrastructure.db.po;

import java.math.BigDecimal;
import com.baomidou.mybatisplus.annotation.TableName;
import cn.newhopedairy.common.po.SuperPo;
import com.baomidou.mybatisplus.annotation.TableField;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * 
 *
 * @author Neo.Li
 * @since 2021-01-27
 */
@Data
@EqualsAndHashCode(callSuper = true)
@TableName("sku")
@ApiModel(value="SkuPo对象", description="")
public class SkuPo extends SuperPo {


    @ApiModelProperty(value = "sku名称")
    @TableField("sku_name")
    private String skuName;

    @ApiModelProperty(value = "售价")
    @TableField("price")
    private BigDecimal price;

    @ApiModelProperty(value = "原价")
    @TableField("original_price")
    private BigDecimal originalPrice;


}
